package com.ckv.qcm.controller;

import java.util.ArrayList;

import com.ckv.qcm.model.AnswerType;
import com.ckv.qcm.model.Question;

public class QuestionController {

	public void createQuestion(String description, String statement,
			String image, AnswerType answerType) {
		Question oQuestion = new Question(0, description, statement, image,
				answerType);
		// oQuestion.create
	}

	public ArrayList<Question> findAll() {
		return Question.findAll();
	}
	
	public boolean deleteQuestion(Question question) {
		return question.delete();
	}

}
